﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlexFlow.Model
{
    /// <summary>
    /// 文件描述模型
    /// </summary>
    public class FileDescription : PhysicalModel
    {
        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 上传者
        /// </summary>
        public Guid Uploader { get; set; }
        /// <summary>
        /// 路径文本
        /// </summary>
        public string Path { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime UploadTime { get; set; }
        /// <summary>
        /// 最后编辑时间
        /// </summary>
        public DateTime LastModifyTime { get; set; }
        /// <summary>
        /// 失效时间
        /// </summary>
        public DateTime OutdateTime { get; set; }
        /// <summary>
        /// 文件大小（以字节为单位，对文件夹无效）
        /// </summary>
        public long Size { get; set; }
        /// <summary>
        /// 文件是否只读
        /// </summary>
        public bool ReadOnly { get; set; }
    }
}
